<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('internalReceipt')} > ${i18n.getMessage('info')}">
	<a href="#" onclick="pp('receipt/printInternalReceipt.sgt?id=${receipt.id}');">Print</a>
	- <a href="#" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('receipt/deleteInternalReceipt.sgt?id=${receipt.id}'); }">${i18n.getMessage('delete')}</a>
	- <a href="#" onclick="cc('receipt/showInternalReceiptList.sgt');">List</a>
</@showTitle>

<table id="dataTable" cellspacing="5" cellpadding="0" align="center">
	<table id="dataTable" class="w750" cellspacing="5" cellpadding="0">
		<tr>
			<td class="name">${i18n.getMessage('number')}:</td>
			<td>${(receipt.number)!}</td>
		</tr>
		<tr>
			<td class="name w100">${i18n.getMessage('name')}:</td>
			<td>${(receipt.name)!}</td>
		</tr>
		<tr>
			<td class="name w100">${i18n.getMessage('date')}:</td>
			<td>${(receipt.date?date)!}</td>
		</tr>
		<tr>
		<tr>
			<td class="name">${i18n.getMessage('cashier')}:</td>
			<td>${(receipt.cashier.fullName)!}</td>
		</tr>
		<tr>
			<td class="name">Amount:</td>
			<td class="w115">${(receipt.fee.amount!)} ${i18n.getMessage('currency.vnd')}</td>
		</tr>
		<tr>
			<td class="name w100" style="vertical-align:top">${i18n.getMessage('comment')}</td>
			<td colspan="3"><textarea name="comment" readonly style="width:350px;height:80px;background-color:#FFFAFA">${(receipt.comment)!}</textarea></td>
		</tr>
	</table>
</table>